#define layout(title, keywords, description, page)
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>#(title?? '集成问答')</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="keywords" content="#(keywords?? 'jboot,jbootfly,jboot社区,jpress')">
    <meta name="description" content="#(description?? 'Jboot，专为大型分布式项目和微服务而生，她是一个基于JFinal 和 Undertow开发的微服务框架。')">
    <link rel="stylesheet" href="/static/layui/css/layui.css">
    <link rel="stylesheet" href="/static/css/global.css">
    <link rel="stylesheet" href="/static/css/csdn.css">
    <link rel="stylesheet" href="/static/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="/static/bootstrap/select/css/bootstrap-select.css">
    <script type="text/javascript" src="/static/jquery/jquery-2.1.4.min.js"></script>
    <!--<script type="text/javascript" src="/static/bootstrap/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="/static/bootstrap/select/js/bootstrap-select.js"></script>-->
    <link href="/static/webuploader/webuploader.css" type="text/css"
          rel="stylesheet" />
    <script type="text/javascript"
            src="/static/webuploader/webuploader.js"></script>
   <!-- <script type="text/javascript"
            src="/static/webuploader/webuploader.nolog.min.js"></script>
-->
    <meta name="decorator" content="default" />
</head>
<body style="background-color: #e9e9e9;margin-top: 41px">

<div class="fly-header" style="background:#e9e9e9">
    <div class="layui-container">

    </div>
</div>


#@content?()


<div class="fly-footer" style="border-top: 1px solid #ddd;">
    <p><a href="http://jboot.io/" target="_blank">集成问答</a> 2018 &copy; <a href="http://192.168.13.112:8080/portal-web/admin/login#"  target="_blank"> 系统集成</a></p>
</div>
<script>
    $(document).ready(function (){
        $(".menu li").each(function(index){
            $(this).click(function(){
                $(".menu li").removeClass("first");
                $(".menu li").eq(index).addClass("first");
            });
        });
    });
</script>
<script src="/static/layui/layui.js"></script>
<script>
    layui.cache.page = '#(page ?? 'jie')';
    layui.cache.user = {
        username: '#(USER.nickname ?? "游客")'
        ,uid: '#(USER.id ?? -1)'
        ,avatar: '#(USER.avatar ?? "/static/images/avatar/00.jpg")'
        ,experience: 83
        ,sex: '男'
    };
    layui.config({
        version: "3.0.0"
        ,base: '/static/mods/'
    }).extend({
        fly: ''

    }).use(['fly', 'face'], function(){
        var $ = layui.$
            ,fly = layui.fly;
        //如果你是采用模版自带的编辑器，你需要开启以下语句来解析。

         $('.detail-body').each(function(){
         var othis = $(this), html = othis.html();
         othis.html(fly.content(html));
         });

    });
    #@script?()

</script>
</body>
</html>
#end
<style>
    .first { border-bottom: 2px solid #0086cc}
</style>

